package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/01/25/16:13
 * @Description:  自有资产租出合同实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ContractInfo  implements Serializable {


    /**
     * id             序号
     * contractId     合同编号
     * assetId        资产编号
     * address        租赁地址（实际地址）
     * lessee         承租方
     * companyName    资产所属公司（出租方）
     * contact        联系人
     * phone          手机号码
     * rentUse        租赁用途
     * listed         是否挂牌
     * contractBeginDate  合同开始时间
     * contractEndDate    合同结束时间
     * contractStatusId   合同状态
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("contract_id")
    private String contractId;
    @TableField("asset_id")
    private String assetId;
    private String address;
    @TableField("company_name")
    private String companyName;
    private String contact;
    private String  phone;
    @TableField("rent_use")
    private String  rentUse;
    private String listed;
    @TableField("contract_begin_date")
    private Date   contractBeginDate;
    @TableField("contract_end_date")
    private Date   contractEndDate;
    @TableField("contract_status_id")
    private Integer  contractStatusId;
    @TableField("name")
    private String lessee;
    @TableField("contract_status")
    private String contractStatus;
    @TableField("asset_type")
    private String assetType;


}
